cmake_minimum_required(VERSION 3.10.2)

include_directories(breakpad/src breakpad/src/common/android/include)
# libbugly.so
add_library(nativecrashcatch SHARED nativecrashcatch.cpp)

add_subdirectory(breakpad)

# 链接ndk中的log库
target_link_libraries(nativecrashcatch breakpad log)